-
Notifications
You must be signed in to change notification settings - Fork 176
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[8.0] Added configurable chunksize option to dirac_dms_replicate_and_r… #7672
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can afford the extra 'u's
src/DIRAC/DataManagementSystem/scripts/dirac_dms_replicate_and_register_request.py
Outdated
Show resolved
Hide resolved
src/DIRAC/DataManagementSystem/scripts/dirac_dms_replicate_and_register_request.py
Outdated
Show resolved
Hide resolved
src/DIRAC/DataManagementSystem/scripts/dirac_dms_replicate_and_register_request.py
Outdated
Show resolved
Hide resolved
I left the 'u' out to make it clear that chunksize (line 36) is not the same as chnksize (line 37). At least not in programming terms. I don't do much programming, I need all the help I can get. |
One is a |
The "catalog" is not mine. |
Yeah, I know, you should do as the romans with the catalog. |
I still think my way is better, and I can't even hit "commit suggestion" as it will then fail the "commit message formatting" test. |
@@ -22,15 +22,19 @@ def getLFNList(arg): | |||
def main(): | |||
catalog = None | |||
Script.registerSwitch("C:", "Catalog=", "Catalog to use") | |||
Script.registerSwitch("N:", "ChunkSize=", "Number of files per request") |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Script.registerSwitch("N:", "ChunkSize=", "Number of files per request") | |
Script.registerSwitch("N:", "ChnkSze=", "Number of files per request") |
To not confuse it with line 36 and 37!
Edit: /s
You can "add suggestion to batch" and then type your own commit message. |
…register_request script
I've added various 'u'. Everyone happy ? |
…s_replicate_and_r…
Sweep summary Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/9664655301 Successful:
|
…egister_request script
BEGINRELEASENOTES
*DataManagement
CHANGE: dirac-dms-replicate-and-register-request: Make request chunk size configurable; default behaviour unchanged.
ENDRELEASENOTES